package com.visitcqut.domain;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @program: visitcqut
 * @description: 学生实体类
 * @author: ATAO
 * @create: 2020-11-14 15:30
 **/


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {


    /**
     * 学生编号
     */
    private Integer id;


    /**
     * 学生姓名
     */
    private String name;


    /**
     * 学生性别
     */
    private String gender;


    /**
     * 学生学号
     */
    private String student_ID;

    /**
     * 学生电话
     */
    private String telephone;

    /**
     * 学生邮件
     */
    private String email;


    /**
     * 构造方法
     */
    public Student(String name, String gender, String student_ID, String telephone, String email) {
        this.name = name;
        this.gender = gender;
        this.student_ID = student_ID;
        this.telephone = telephone;
        this.email = email;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", student_ID='" + student_ID + '\'' +
                ", telephone='" + telephone + '\'' +
                ", email='" + email + '\'' +
                '}';
    }



}
